package com.zzzy.cont.vo.contract.my;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "获取合同可操作权限")
@Data
public class MyConButtonRes {

    @Schema(description = "是否有编辑基本信息权限")
    @JsonProperty("isEdit")
    private boolean edit;

    @Schema(description = "是否有删除权限")
    @JsonProperty("isDelete")
    private boolean delete;

    @Schema(description = "是否有作废权限")
    @JsonProperty("isCancel")
    private boolean cancel;

    @Schema(description = "是否有更换文件权限")
    @JsonProperty("isChangeFile")
    private boolean changeFile;

    @Schema(description = "是否有更换文件模板权限")
    @JsonProperty("isChangeFileTemplate")
    private boolean changeFileTemplate;

    @Schema(description = "是否有新增附件权限")
    @JsonProperty("isAddAttachment")
    private boolean addAttachment;

    @Schema(description = "是否有删除附件权限")
    @JsonProperty("isDeleteAttachment")
    private boolean deleteAttachment;

    @Schema(description = "是否上传对方盖章合同权限")
    @JsonProperty("isUploadSignFile")
    private boolean uploadSignFile;

    @Schema(description = "是否重新审核权限")
    @JsonProperty("isReAudit")
    private boolean reAudit;

    @Schema(description = "是否有申请权限")
    @JsonProperty("isApply")
    private boolean apply;

    @Schema(description = "是否有进入下一步权限")
    @JsonProperty("isNext")
    private boolean next;
}
